var a = document.getElementById("tips");
var b = document.getElementById("memus");
var c = document.body.clientWidth;
var d = document.getElementsByClassName("memus_tab");
var e = document.getElementById("close")
a.addEventListener("click",function(){
        b.style.width = Number(c) * 0.25+ "px";
        a.style.visibility = "hidden";
        e.style.visibility = "visible";
        for(i = 0;i++;i<d.length){
            d[i].style.visibility = "visible";
        }
});

e.addEventListener("click",function(){
    b.style.width = 0+ "px";
    a.style.visibility = "visible";
    e.style.visibility = "hidden";
    for(i = 0;i++;i<d.length){
        d[i].style.visibility = "visible";
    }
});
